//
//  STMStoreRefundModel.h
//  StoreManagement
//
//  Created by centling on 16/5/23.
//  Copyright © 2016年 alfred. All rights reserved.
//

#import <JSONModel/JSONModel.h>

@class STMStoreRefundResult;
@protocol STMStoreRefundDataArray <NSObject>
@end
@class STMStoreRefundExtendData;

@interface STMStoreRefundModel : JSONModel

@property (strong, nonatomic) NSString* code;
@property (strong, nonatomic) NSString* message;
@property (strong, nonatomic) STMStoreRefundResult<Optional>* result;

@end

@interface STMStoreRefundResult : JSONModel

@property (strong, nonatomic) NSArray<STMStoreRefundDataArray>* data_info;
@property (strong, nonatomic) STMStoreRefundExtendData* extend_data;

@end

@interface STMStoreRefundDataArray : JSONModel

@property (strong, nonatomic) NSString* goods_name;
@property (strong, nonatomic) NSString* order_id;
@property (strong, nonatomic) NSString* order_sn;
@property (strong, nonatomic) NSString* refund_id;
@property (strong, nonatomic) NSString* refund_amount;
@property (strong, nonatomic) NSString* buyer_name;
@property (strong, nonatomic) NSString* add_time;
@property (strong, nonatomic) NSString* reason_info;
@property (strong, nonatomic) NSString* buyer_message;
@property (strong, nonatomic) NSString* seller_message;
@property (strong, nonatomic) NSString* goods_image;
@property (strong, nonatomic) NSString* goods_price;

@end

@interface STMStoreRefundExtendData : JSONModel

@property (strong, nonatomic) NSString* hasmore;
@property (strong, nonatomic) NSString* page_total;

@end